package com.superMarket.project.domain;

/**
 * 购买水果记录实体类
 * @author mrguo
 * @date 2024/11/04
 */
public class ShoppingRecord {
    /**
     * 顾客姓名，作为唯一键使用
     */
    private String customerName;

    /**
     * 水果名称，作为唯一键使用
     */
    private String fruitName;

    /**
     * 购买数量(斤数)
     */
    private int buyQuantity;

    public ShoppingRecord(){}
    public ShoppingRecord(String customerName, String fruitName, int buyQuantity){
        this.customerName = customerName;
        this.fruitName = fruitName;
        this.buyQuantity = buyQuantity;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getFruitName() {
        return fruitName;
    }

    public void setFruitName(String fruitName) {
        this.fruitName = fruitName;
    }

    public int getBuyQuantity() {
        return buyQuantity;
    }

    public void setBuyQuantity(int buyQuantity) {
        this.buyQuantity = buyQuantity;
    }
}